/**
 * Created by shitao on 15/11/2.
 */
(function () {
    angular.module('my-tabs.controllers')
        .controller('appDetailCtrl', appDetailCtrl);
    appDetailCtrl.$inject = ['$scope', 'appService', '$stateParams'];

    function appDetailCtrl($scope, appService, $stateParams) {

        console.log('appDetailCtrl');

        var vm = this;
        var appId = $stateParams.appId;
        vm.app = appService.get(appId);
    }
})();
